package com.jy.adscm.operation.cgxsb.bean;

import java.lang.reflect.Type;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.ibatis.annotations.Param;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yyy
 * @since 2019-01-10
 */
@TableName("base_Commodityinfo")
public class CgxsCommodityinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "spid",type = IdType.UUID)
    private String spid;
    private String spmc;
    @TableField(exist = false)
    private String spname;



    public String getSpname() {
        return spname;
    }

    public void setSpname(String spname) {
        this.spname = spname;
    }

    private String spxh;
    private Double spjhsl;
    private Double spjhdj;
    private Double spjhzj;
    private Double spsjsl;
    private Double spsjdj;
    private Double spsjzj;
    private String tid;
    private Date sptjsj;
    private Date spjhsfsj;
    private Double total;
    @TableField("whereWeek")
    private String whereWeek;
    private Double sjtotal;
    private Integer rwlx;
    private Date planarrivedtime;
    private String commodityuse;
    private String sjwhereweek;


    public String getSpid() {
        return spid;
    }

    public void setSpid(String spid) {
        this.spid = spid;
    }

    public String getSpmc() {
        return spmc;
    }

    public void setSpmc(String spmc) {
        this.spmc = spmc;
    }

    public String getSpxh() {
        return spxh;
    }

    public void setSpxh(String spxh) {
        this.spxh = spxh;
    }

    public Double getSpjhsl() {
        return spjhsl;
    }

    public void setSpjhsl(Double spjhsl) {
        this.spjhsl = spjhsl;
    }

    public Double getSpjhdj() {
        return spjhdj;
    }

    public void setSpjhdj(Double spjhdj) {
        this.spjhdj = spjhdj;
    }

    public Double getSpjhzj() {
        return spjhzj;
    }

    public void setSpjhzj(Double spjhzj) {
        this.spjhzj = spjhzj;
    }

    public Double getSpsjsl() {
        return spsjsl;
    }

    public void setSpsjsl(Double spsjsl) {
        this.spsjsl = spsjsl;
    }

    public Double getSpsjdj() {
        return spsjdj;
    }

    public void setSpsjdj(Double spsjdj) {
        this.spsjdj = spsjdj;
    }

    public Double getSpsjzj() {
        return spsjzj;
    }

    public void setSpsjzj(Double spsjzj) {
        this.spsjzj = spsjzj;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getSptjsj() {
        return sptjsj;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setSptjsj(Date sptjsj) {
        this.sptjsj = sptjsj;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getSpjhsfsj() {
        return spjhsfsj;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setSpjhsfsj(Date spjhsfsj) {
        this.spjhsfsj = spjhsfsj;
    }

    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }

    public String getWhereWeek() {
        return whereWeek;
    }

    public void setWhereWeek(String whereWeek) {
        this.whereWeek = whereWeek;
    }

    public Double getSjtotal() {
        return sjtotal;
    }

    public void setSjtotal(Double sjtotal) {
        this.sjtotal = sjtotal;
    }

    public Integer getRwlx() {
        return rwlx;
    }

    public void setRwlx(Integer rwlx) {
        this.rwlx = rwlx;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getPlanarrivedtime() {
        return planarrivedtime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setPlanarrivedtime(Date planarrivedtime) {
        this.planarrivedtime = planarrivedtime;
    }

    public String getCommodityuse() {
        return commodityuse;
    }

    public void setCommodityuse(String commodityuse) {
        this.commodityuse = commodityuse;
    }

    public String getSjwhereweek() {
        return sjwhereweek;
    }

    public void setSjwhereweek(String sjwhereweek) {
        this.sjwhereweek = sjwhereweek;
    }

    @Override
    public String toString() {
        return "CgxsCommodityinfo{" +
        "spid=" + spid +
        ", spmc=" + spmc +
        ", spxh=" + spxh +
        ", spjhsl=" + spjhsl +
        ", spjhdj=" + spjhdj +
        ", spjhzj=" + spjhzj +
        ", spsjsl=" + spsjsl +
        ", spsjdj=" + spsjdj +
        ", spsjzj=" + spsjzj +
        ", tid=" + tid +
        ", sptjsj=" + sptjsj +
        ", spjhsfsj=" + spjhsfsj +
        ", total=" + total +
        ", whereWeek=" + whereWeek +
        ", sjtotal=" + sjtotal +
        ", rwlx=" + rwlx +
        ", planarrivedtime=" + planarrivedtime +
        ", commodityuse=" + commodityuse +
        ", sjwhereweek=" + sjwhereweek +
        "}";
    }
}
